<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 
<%@page import="com.lmpop.trade.tb_commpara.Tb_commparaInfo" %>
<%@page import="com.lmpop.trade.ti_shipping.Ti_shippingInfo" %>
<%@page import="com.lmpop.trade.ti_payment.Ti_paymentInfo" %>



<%
 
  
  Tb_commparaInfo tb_commparaInfo = new Tb_commparaInfo();
  Ti_shippingInfo  ti_shippingInfo = new Ti_shippingInfo();
  Ti_paymentInfo ti_paymentInfo = new Ti_paymentInfo();   
  String ordersource = tb_commparaInfo.getSelectItem("16","");
  String s_shipping = ti_shippingInfo.getShipSelectItem("");
  String s_pay = ti_paymentInfo.getPaySelectItem("");
  String orderState = tb_commparaInfo.getSelectItem("31","");
  
%>

<html>
  <head>
    <title>ti_orderinfo Manager</title>
	<link href="/program/admin/index/css/style.css" rel="stylesheet" type="text/css">
    <script language="javascript" type="text/javascript" src="/program/plugins/calendar/WdatePicker.js"></script>
    <script type='text/javascript' src='<%=request.getContextPath()%>/dwr/interface/Ts_areaInfo.js'></script>
    <script type='text/javascript' src='<%=request.getContextPath()%>/dwr/engine.js'></script>
	<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/util.js'></script>
    <script type='text/javascript' src='js_orderquery.js'></script>
  
</head>

<body>
	
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td width="90%">
				<h1>订单查询</h1>
			</td>
			<td>
			
			</td>
		</tr>
	</table>

	
	<form action="index.jsp" method="post" name="queryForm">
	
	<table width="100%" cellpadding="0" cellspacing="1" border="0" class="listtab">
		
		    <tr>
			  <td align="right" width="20%">订单号</td>	   
			  <td width="18%">
			      <input name="o_order_no" id="o_order_no" type="text" value=""  />			 
			  </td>
			  <td width="12%" align="right">
			  	 订单来源
			  </td>
			  <td width="60%">
         <select name="o_order_source" id="o_order_source">
            <option value="">请选择</option>
            <%=ordersource%>         
         </select>			       			  
			   </td>
	  </tr>
     
    
   <tr>
			  <td align="right" width="20%">电子邮件</td>	   
			  <td width="18%">
			      <input name="o_email" id="o_email" type="text" value=""  />			 
			  </td>
			  <td width="12%" align="right">
			  	 下单时间
			  </td>
			  <td width="60%">
          <input name="o_start_date" type="text" id="o_start_date" class="Wdate" value="" onclick="WdatePicker({maxDate:'#F{$dp.$D(\'o_end_date\',{d:-1})}',readOnly:true})" size="15"  width="150px"/>
              -
	        <input name="o_end_date" id="o_end_date" type="text" class="Wdate" value="" onclick="WdatePicker({minDate:'#F{$dp.$D(\'o_start_date\',{d:1})}',readOnly:true})" size="15" width="150px"/>
	       			  
			   </td>
	  </tr>
      
      <tr>
			  <td align="right" width="20%">购货人</td>	   
			  <td width="18%">
			      <input name="o_user" id="o_user" type="text" value=""  />			 
			  </td>
			  <td width="12%" align="right">
			  	 收货人			  
			  </td>
			  <td width="60%">
         
           <input name="o_consignee" id="o_consignee" type="text" value=""  />			 
       			  
			   </td>
	  </tr>
    
    
    <tr>
			  <td align="right" width="20%">邮编</td>	   
			  <td width="18%">
			      <input name="o_zip_code" id="o_zip_code" type="text" value=""  />			 
			  </td>
			  <td width="12%" align="right">
			  	 所在地区			  
			  </td>
			  <td width="60%">
         
        <select name="province" id="province" onclick="setCitys(this.value)">
				  <option value="">省份</option> 
				</select>
				<select name="eparchy_code" id="eparchy_code" onclick="setAreas(this.value)">
				  <option value="">地级市</option> 
				 </select>
				<select name="city_code" id="city_code" style="display:inline" >
				 <option value="">市、县级市、县</option> 
				</select>
 
	        <input name="o_area_attr" id="o_area_attr" type="hidden" value=""/>       			  
			   </td>
	  </tr>
    
    
     <tr>
			  <td align="right" width="20%">手机</td>	   
			  <td width="18%">
			      <input name="o_cellphone" id="o_cellphone" type="text" value=""  />			 
			  </td>
			  <td width="12%" align="right">
			  	 电话			  
			  </td>
			  <td width="60%">
         
             <input name="o_tel" id="o_tel" type="text" value=""  />			 
       			  
			   </td>
	  </tr>
   
     <tr>
			  <td align="right" width="20%">详细地址</td>	   
				<td colspan="3">
				   <input name="o_address" id="o_address" type="text" value=""  size="36"/>					 
				</td>
	  </tr>
     
      <tr>
			  <td align="right" width="20%">配送方式</td>	   
			  <td width="18%">
			      <select id="o_shipping_id" name="o_shipping_id">	
			       	<option value="">请选择</option> 		      	
 		      	<%=s_shipping%>
			      </select>	 
			  </td>
			  <td width="12%" align="right">
			  	 支付方式		  
			  </td>
			  <td width="60%">
             
             <select id="o_pay_id" name="o_pay_id">
                <option value="">请选择</option>
                <%=s_pay%> 
             </select>			 
       			  
			   </td>
	  </tr>
 
      <tr>
			  <td align="right" width="20%">商品名称</td>	   
				<td colspan="3">
				    <input name="o_goods_name" id="o_goods_name" type="text" value=""  size="36"/>					 
				</td>
	    </tr>
      
       <tr>
			  <td align="right" width="20%">商铺名称</td>	   
				<td colspan="3">
				    <input name="o_cust" id="o_cust" type="text" value=""  size="36"/>					 
				</td>
	    </tr>
    
        <tr>
			  <td align="right" width="20%">订单状态</td>	   
			  <td width="18%">
			  
			      <select id="o_order_state" name="o_order_state">
                     <option value="">请选择</option> 
                     <%=orderState%>
			      </select>		 			  
			  
			  </td>
			  <td width="12%" align="right">
			  	 	  
			  </td>
			  <td width="60%">
         
 
       			  
			   </td>
	  </tr>
  
           
     
		
		</table>
	
	
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			 <td align="center">
				 				
				  <input type="button" class="buttoncss" name="tradeSub" value="查询" onclick="orderQuery()" />&nbsp;&nbsp;
			 </td>
		</tr>
	</table>
		
</form>
</body>

</html>
